package cn.itcast.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class orderItemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public orderItemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductImgIsNull() {
            addCriterion("product_img is null");
            return (Criteria) this;
        }

        public Criteria andProductImgIsNotNull() {
            addCriterion("product_img is not null");
            return (Criteria) this;
        }

        public Criteria andProductImgEqualTo(String value) {
            addCriterion("product_img =", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgNotEqualTo(String value) {
            addCriterion("product_img <>", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgGreaterThan(String value) {
            addCriterion("product_img >", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgGreaterThanOrEqualTo(String value) {
            addCriterion("product_img >=", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgLessThan(String value) {
            addCriterion("product_img <", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgLessThanOrEqualTo(String value) {
            addCriterion("product_img <=", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgLike(String value) {
            addCriterion("product_img like", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgNotLike(String value) {
            addCriterion("product_img not like", value, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgIn(List<String> values) {
            addCriterion("product_img in", values, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgNotIn(List<String> values) {
            addCriterion("product_img not in", values, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgBetween(String value1, String value2) {
            addCriterion("product_img between", value1, value2, "productImg");
            return (Criteria) this;
        }

        public Criteria andProductImgNotBetween(String value1, String value2) {
            addCriterion("product_img not between", value1, value2, "productImg");
            return (Criteria) this;
        }

        public Criteria andWeighTimeIsNull() {
            addCriterion("weigh_time is null");
            return (Criteria) this;
        }

        public Criteria andWeighTimeIsNotNull() {
            addCriterion("weigh_time is not null");
            return (Criteria) this;
        }

        public Criteria andWeighTimeEqualTo(Date value) {
            addCriterion("weigh_time =", value, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeNotEqualTo(Date value) {
            addCriterion("weigh_time <>", value, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeGreaterThan(Date value) {
            addCriterion("weigh_time >", value, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("weigh_time >=", value, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeLessThan(Date value) {
            addCriterion("weigh_time <", value, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeLessThanOrEqualTo(Date value) {
            addCriterion("weigh_time <=", value, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeIn(List<Date> values) {
            addCriterion("weigh_time in", values, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeNotIn(List<Date> values) {
            addCriterion("weigh_time not in", values, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeBetween(Date value1, Date value2) {
            addCriterion("weigh_time between", value1, value2, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighTimeNotBetween(Date value1, Date value2) {
            addCriterion("weigh_time not between", value1, value2, "weighTime");
            return (Criteria) this;
        }

        public Criteria andWeighWeightIsNull() {
            addCriterion("weigh_weight is null");
            return (Criteria) this;
        }

        public Criteria andWeighWeightIsNotNull() {
            addCriterion("weigh_weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeighWeightEqualTo(Double value) {
            addCriterion("weigh_weight =", value, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightNotEqualTo(Double value) {
            addCriterion("weigh_weight <>", value, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightGreaterThan(Double value) {
            addCriterion("weigh_weight >", value, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("weigh_weight >=", value, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightLessThan(Double value) {
            addCriterion("weigh_weight <", value, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightLessThanOrEqualTo(Double value) {
            addCriterion("weigh_weight <=", value, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightIn(List<Double> values) {
            addCriterion("weigh_weight in", values, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightNotIn(List<Double> values) {
            addCriterion("weigh_weight not in", values, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightBetween(Double value1, Double value2) {
            addCriterion("weigh_weight between", value1, value2, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andWeighWeightNotBetween(Double value1, Double value2) {
            addCriterion("weigh_weight not between", value1, value2, "weighWeight");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthIsNull() {
            addCriterion("no_scales_weigth is null");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthIsNotNull() {
            addCriterion("no_scales_weigth is not null");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthEqualTo(Double value) {
            addCriterion("no_scales_weigth =", value, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthNotEqualTo(Double value) {
            addCriterion("no_scales_weigth <>", value, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthGreaterThan(Double value) {
            addCriterion("no_scales_weigth >", value, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthGreaterThanOrEqualTo(Double value) {
            addCriterion("no_scales_weigth >=", value, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthLessThan(Double value) {
            addCriterion("no_scales_weigth <", value, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthLessThanOrEqualTo(Double value) {
            addCriterion("no_scales_weigth <=", value, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthIn(List<Double> values) {
            addCriterion("no_scales_weigth in", values, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthNotIn(List<Double> values) {
            addCriterion("no_scales_weigth not in", values, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthBetween(Double value1, Double value2) {
            addCriterion("no_scales_weigth between", value1, value2, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andNoScalesWeigthNotBetween(Double value1, Double value2) {
            addCriterion("no_scales_weigth not between", value1, value2, "noScalesWeigth");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightIsNull() {
            addCriterion("finally_weight is null");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightIsNotNull() {
            addCriterion("finally_weight is not null");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightEqualTo(Double value) {
            addCriterion("finally_weight =", value, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightNotEqualTo(Double value) {
            addCriterion("finally_weight <>", value, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightGreaterThan(Double value) {
            addCriterion("finally_weight >", value, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("finally_weight >=", value, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightLessThan(Double value) {
            addCriterion("finally_weight <", value, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightLessThanOrEqualTo(Double value) {
            addCriterion("finally_weight <=", value, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightIn(List<Double> values) {
            addCriterion("finally_weight in", values, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightNotIn(List<Double> values) {
            addCriterion("finally_weight not in", values, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightBetween(Double value1, Double value2) {
            addCriterion("finally_weight between", value1, value2, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andFinallyWeightNotBetween(Double value1, Double value2) {
            addCriterion("finally_weight not between", value1, value2, "finallyWeight");
            return (Criteria) this;
        }

        public Criteria andTodayPriceIsNull() {
            addCriterion("today_price is null");
            return (Criteria) this;
        }

        public Criteria andTodayPriceIsNotNull() {
            addCriterion("today_price is not null");
            return (Criteria) this;
        }

        public Criteria andTodayPriceEqualTo(Double value) {
            addCriterion("today_price =", value, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceNotEqualTo(Double value) {
            addCriterion("today_price <>", value, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceGreaterThan(Double value) {
            addCriterion("today_price >", value, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("today_price >=", value, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceLessThan(Double value) {
            addCriterion("today_price <", value, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceLessThanOrEqualTo(Double value) {
            addCriterion("today_price <=", value, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceIn(List<Double> values) {
            addCriterion("today_price in", values, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceNotIn(List<Double> values) {
            addCriterion("today_price not in", values, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceBetween(Double value1, Double value2) {
            addCriterion("today_price between", value1, value2, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andTodayPriceNotBetween(Double value1, Double value2) {
            addCriterion("today_price not between", value1, value2, "todayPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIsNull() {
            addCriterion("unit_price is null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIsNotNull() {
            addCriterion("unit_price is not null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceEqualTo(Double value) {
            addCriterion("unit_price =", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotEqualTo(Double value) {
            addCriterion("unit_price <>", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceGreaterThan(Double value) {
            addCriterion("unit_price >", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("unit_price >=", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceLessThan(Double value) {
            addCriterion("unit_price <", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceLessThanOrEqualTo(Double value) {
            addCriterion("unit_price <=", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIn(List<Double> values) {
            addCriterion("unit_price in", values, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotIn(List<Double> values) {
            addCriterion("unit_price not in", values, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceBetween(Double value1, Double value2) {
            addCriterion("unit_price between", value1, value2, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotBetween(Double value1, Double value2) {
            addCriterion("unit_price not between", value1, value2, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Integer value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Integer value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Integer value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Integer value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Integer value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Integer value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Integer> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Integer> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Integer value1, Integer value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Integer value1, Integer value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andSumIsNull() {
            addCriterion("sum is null");
            return (Criteria) this;
        }

        public Criteria andSumIsNotNull() {
            addCriterion("sum is not null");
            return (Criteria) this;
        }

        public Criteria andSumEqualTo(Double value) {
            addCriterion("sum =", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumNotEqualTo(Double value) {
            addCriterion("sum <>", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumGreaterThan(Double value) {
            addCriterion("sum >", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumGreaterThanOrEqualTo(Double value) {
            addCriterion("sum >=", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumLessThan(Double value) {
            addCriterion("sum <", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumLessThanOrEqualTo(Double value) {
            addCriterion("sum <=", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumIn(List<Double> values) {
            addCriterion("sum in", values, "sum");
            return (Criteria) this;
        }

        public Criteria andSumNotIn(List<Double> values) {
            addCriterion("sum not in", values, "sum");
            return (Criteria) this;
        }

        public Criteria andSumBetween(Double value1, Double value2) {
            addCriterion("sum between", value1, value2, "sum");
            return (Criteria) this;
        }

        public Criteria andSumNotBetween(Double value1, Double value2) {
            addCriterion("sum not between", value1, value2, "sum");
            return (Criteria) this;
        }

        public Criteria andItemExplainIsNull() {
            addCriterion("item_explain is null");
            return (Criteria) this;
        }

        public Criteria andItemExplainIsNotNull() {
            addCriterion("item_explain is not null");
            return (Criteria) this;
        }

        public Criteria andItemExplainEqualTo(String value) {
            addCriterion("item_explain =", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainNotEqualTo(String value) {
            addCriterion("item_explain <>", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainGreaterThan(String value) {
            addCriterion("item_explain >", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainGreaterThanOrEqualTo(String value) {
            addCriterion("item_explain >=", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainLessThan(String value) {
            addCriterion("item_explain <", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainLessThanOrEqualTo(String value) {
            addCriterion("item_explain <=", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainLike(String value) {
            addCriterion("item_explain like", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainNotLike(String value) {
            addCriterion("item_explain not like", value, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainIn(List<String> values) {
            addCriterion("item_explain in", values, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainNotIn(List<String> values) {
            addCriterion("item_explain not in", values, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainBetween(String value1, String value2) {
            addCriterion("item_explain between", value1, value2, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemExplainNotBetween(String value1, String value2) {
            addCriterion("item_explain not between", value1, value2, "itemExplain");
            return (Criteria) this;
        }

        public Criteria andItemImgIsNull() {
            addCriterion("item_img is null");
            return (Criteria) this;
        }

        public Criteria andItemImgIsNotNull() {
            addCriterion("item_img is not null");
            return (Criteria) this;
        }

        public Criteria andItemImgEqualTo(String value) {
            addCriterion("item_img =", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgNotEqualTo(String value) {
            addCriterion("item_img <>", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgGreaterThan(String value) {
            addCriterion("item_img >", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgGreaterThanOrEqualTo(String value) {
            addCriterion("item_img >=", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgLessThan(String value) {
            addCriterion("item_img <", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgLessThanOrEqualTo(String value) {
            addCriterion("item_img <=", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgLike(String value) {
            addCriterion("item_img like", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgNotLike(String value) {
            addCriterion("item_img not like", value, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgIn(List<String> values) {
            addCriterion("item_img in", values, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgNotIn(List<String> values) {
            addCriterion("item_img not in", values, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgBetween(String value1, String value2) {
            addCriterion("item_img between", value1, value2, "itemImg");
            return (Criteria) this;
        }

        public Criteria andItemImgNotBetween(String value1, String value2) {
            addCriterion("item_img not between", value1, value2, "itemImg");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}